package org.example.pmsystem.service;

import org.example.pmsystem.entity.Salary;
import org.example.pmsystem.entity.Attend;

import java.util.List;

public interface SalaryService {
    List<Salary> selectSalaryByStatus(String status);
    List<Salary> selectSalaryByDate(String date);
    List<Salary> selectSalaryBySno(String sno);
    boolean calculateSalary();
    void updateSalary(Salary salary);
    void updateSalaryStatus(Salary salary);
    boolean insertAttend(Attend attend);
}